<template>
	<view>
		<view
			style="margin-top: 20rpx; width: 100%;height: auto;display: flex;justify-content:center;align-items:center;flex-wrap: wrap;">
			<view style="width: 150rpx;background-color: beige;margin-right: 50rpx;color: #333333;">
				<view>风格:polo衫</view>
				<view>颜色:纯白色</view>
				<view>尺寸:M</view>
			</view>
			<image mode="widthFix" style="width: 300rpx;" src="/static/衣服.png"></image>
		</view>
		<view style="margin-bottom: 180rpx; width: 100%;height: auto;display: flex;justify-content:center;align-items:center;flex-wrap: wrap;">
			<view style="width: 150rpx;background-color: beige;margin-right: 50rpx;color: #333333;">
				<view>风格:韩国风</view>
				<view>颜色:蓝色</view>
				<view>尺寸:M</view>
			</view>
			<image mode="widthFix" style="width: 300rpx;" src="/static/牛仔裤.png"></image>
		</view>
		<view class="choose-clothes-container grace-box-shadow">
			<scroll-view scroll-x="true" class="scroll-view">
				<view class="clothes-item grace-box-shadow" v-for="(item, index) in items" :key="index">
					<image mode="aspectFit" :src="item.img"  />
				</view>
			</scroll-view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				items: [{
						img: '/static/衣服.png'
					},
					{
						img: '/static/牛仔裤.png'
					},
					{
						img: '/static/牛仔裤.png'
					},
					{
						img: '/static/牛仔裤.png'
					},
					{
						img: '/static/牛仔裤.png'
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.choose-clothes-container {
		width: 100%;
		white-space: nowrap;
		height: 180rpx;
		background-color: #f8f9f9;
		  display: flex;
		  align-items: center;
		    position: fixed;
		    bottom: 0; 

		.scroll-view {
			width: 100%;
			display: flex;
			overflow: hidden;
			/* 隐藏滚动条 */
		}

		.clothes-item {
			display: inline-block;
			height: 140rpx;
			width: 140rpx;
			padding: 10rpx;
			margin: 10rpx;
			background-color: white;
			border-radius: 10rpx;
			
			image {
				height: 140rpx;
				width: 140rpx;
			}
		}
	}
</style>